//
//  AdView.h
//  SXH
//
//  Created by Ryan on 16/6/15.
//  Copyright © 2016年 lyss. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ADModel.h"

@protocol AdViewDelegate

- (void)ClickAtModel:(ADModel*)model;

@end
@interface AdView : UIView<UIScrollViewDelegate>
@property (nonatomic,strong)UIScrollView *scrollView;
@property (nonatomic,strong)UIPageControl* pageCtrl;
@property (nonatomic,weak)id<AdViewDelegate> delegate;
@property (nonatomic,strong)NSArray *AdArray;
- (instancetype)initWithArray:(NSArray*)listArray;
- (void)show;
- (void)disMissView;
@end
